/*
 * CastExpression.cpp
 *
 *  Created on: 05/05/2010
 *      Author: rodolfo
 */

#include "CastExpression.h"

CastExpression::CastExpression() :
        Expression ( castExp )
{

}

CastExpression::CastExpression ( char type, Expression *exp ) :
        type ( type ), exp ( exp ), Expression ( castExp )
{
}

CastExpression::~CastExpression()
{
	if ( exp != 0 )
	   delete exp;
}
